<div class="header-main">
    <div class="logo-w3-agile">
        <h1><a href="{:U('Index/index')}">首页</a></h1>
    </div>
    <form action="{:U('Search/search')}" method="post">
    <div class="w3layouts-right">
        <div class="profile_details_left" style="margin-bottom:18%;">
                <select name="cid" style="float:left;width:30%;padding:0;margin-right:2px;-webkit-appearance: none;">
                    <option value="0">文件栏目</option>
                    <foreach name="filecate" item="cate">
                        <option value="{$cate.cid}">{$cate.name}</option>
                    </foreach>
                </select>

                <select name="tid" style="float:left;width:30%;padding:0;margin-right:2px;-webkit-appearance: none;">
                    <option value="0">文章栏目</option>
                    <foreach name="artcate" item="cate">
                        <option value="{$cate.cid}">{$cate.name}</option>
                    </foreach>
                </select>

                <select name="aid" style="float:left;width:30%;padding:0;margin-right:2px;-webkit-appearance: none;">
                    <option value="0">相册栏目</option>
                    <foreach name="albumlist" item="album">
                        <option value="{$album.aid}">{$album.name}</option>
                    </foreach>
                </select>
        </div>
    </div>
    <div class="w3layouts-left">
        <!--search-box-->
        <div class="w3-search-box">

                <input type="text" placeholder="搜索内容" required="" name="search" />
                <input type="submit" value="">

        </div><!--//end-search-box-->
        <div class="clearfix"> </div>
    </div>
    </form>
    <div class="profile_details w3l">
        <ul>
            <li class="dropdown profile_details_drop">
                <a href="#" class="dropdown-toggle" data-toggle="dropdown" aria-expanded="false">
                    <div class="profile_img">
                        <span class="prfil-img"><img src="__PUBLIC__/Admin/images/in4.jpg" alt=""> </span>
                        <div class="user-name">
                            <if condition="che()">
                                <p>{$Think.cookie.name}</p>
                            </if>
                            <span>Administrator</span>
                        </div>
                        <i class="fa fa-angle-down"></i>
                        <i class="fa fa-angle-up"></i>
                        <div class="clearfix"></div>
                    </div>
                </a>
                <ul class="dropdown-menu drp-mnu">
                    <!--<li> <a href="#"><i class="fa fa-cog"></i> Settings</a> </li>-->
                    <li> <a href="{:U('Userinfo/userinfo')}"><i class="fa fa-user"></i> Profile</a> </li>
                    <li> <a href="{:U('User/logout')}"><i class="fa fa-sign-out"></i> Logout</a> </li>
                </ul>
            </li>
        </ul>
    </div>

    <div class="clearfix"> </div>
</div>